Simulation Of A Pendulum On Python